﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace qly
{
    class SQLDatabase
    {
        public static string ConnectionString
        {
            
            get {return "Data Source=" + ApplicationConfig.Sever + ";Initial Catalog=qlvt;User ID=" + ApplicationConfig.UserPP + ";password=" + ApplicationConfig.PassPP ; }
            
                 
        }
        public static SqlConnection Connection
        {
            get
            {
                SqlConnection conn = new SqlConnection();
               conn.ConnectionString = ConnectionString;
                return conn;
            }
        }
    }
}
